<?php
/******************************
 * EQdkp
 * Copyright 2002-2003
 * Licensed under the GNU GPL.  See COPYING for full terms.
 * ------------------
 * page_tail.php
 * begin: Wed December 18 2002
 * 
 * $Id: page_tail.php 541 2008-05-20 06:56:16Z rspeicher $
 * 
 ******************************/
 
// Close our DB connection.
$db->close_db();

$tpl->assign_vars(array(
    'L_POWERED_BY' => $user->lang['powered_by'],
    'EQDKP_VERSION' => EQDKP_VERSION)
);

if ( DEBUG == 1 )
{
    
    $mc_split = split(' ', microtime());
    $end_time = $mc_split[0] + $mc_split[1];
    unset($mc_split);
    
    $tpl->assign_vars(array(
        'S_SHOW_DEBUG' => true,            
        'EQDKP_RENDERTIME' => substr($end_time-$start_time, 0, 5),
        'EQDKP_QUERYCOUNT' => $db->query_count)
  );
}

// Get rid of our template data
$tpl->display('body');
$tpl->destroy();
 
exit;
?>